package com.example.lotterysystem.service;

import com.example.lotterysystem.controller.param.UserLoginParam;
import com.example.lotterysystem.controller.param.UserPasswordLoginParam;
import com.example.lotterysystem.controller.param.UserRegisterParam;
import com.example.lotterysystem.service.dto.UserDTO;
import com.example.lotterysystem.service.dto.UserLoginDTO;
import com.example.lotterysystem.service.dto.UserRegisterDTO;
import com.example.lotterysystem.service.enums.UserIdentifyEnum;

import java.util.List;

public interface IUserService {
    UserRegisterDTO register(UserRegisterParam param);

    UserLoginDTO login(UserLoginParam userLoginParam);

    /**
     * 查询人员列表, 如果参数为空, 表示查询全部人员
     * @param identity
     * @return
     */
    List<UserDTO> finUserInfo(UserIdentifyEnum identity);
}
